package com.example.utils;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class TimeStampUtils {

    public String getTimeStamp(){
        Calendar calCurrent = Calendar.getInstance();
        Date date = calCurrent.getTime();
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
        String  now = sdf.format(date);
        return now;
    }

}
